/**
 * Generate time : 2011-06-30 11:41:20
 * Version : 1.0.1.V20070717
 */
package com.baosight.sczx.zm.cm.domain;

import com.baosight.iplat4j.util.NumberUtils;
import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;

/**
 * ZMCMExportmaterialDetail
 * 
 */
public class ZMCMExportmaterialDetail extends DaoEPBase {

	private String fdKeyId = " "; /* 主键 */
	private String fdExportmaterialId = " "; /* 出库记录主键 */
	private String fdApplicationId = " "; /* 领料申请记录 */
	private String fdApplicationDetailId = " "; /* 领料申请明细主键 */
	private String fdApplyDepartmentId = " "; /* 使用单位 */
	private String fdBusinessType = " "; /* 业务类型 */
	private String fdMaterialType = " "; /* 物资类型 */
	private String fdMaterialId = " "; /* 物资ID */
	private String fdMaterialCode = " "; /* 物资编码 */
	private String fdMaterialName = " "; /* 物资名称 */
	private String fdSpecModel = " "; /* 规格型号 */
	private String fdNumber = " "; /* 图号 */
	private String fdQuality = " "; /* 材质 */
	private String fdMetric = " "; /* 计量单位 */
	private Double fdActualNumber = new Double(0); /* 实发数量 */
	private Double fdSum = new Double(0); /* 实发金额 */
	private String fdStatus = " "; /* 冲估状态 */
	private Double fdActualPrice = new Double(0); /* 实际单价 */
	private Double fdPrice = new Double(0); /* 单价 */
	private String fdExporter = " "; /* 发料人 */
	private String fdTurnoverRecordlId = " "; /* 回收/周转主键 */
	private String fdRemark = " "; /* 备注 */

	private String fdExportedNumber = " "; /* 已发数量 */
	private String applicationfdKeyId = " "; /* 领料申请从表主键 */
	private String fdYear = " "; /* 领料归属年 */
	private String fdMonth = " "; /* 领料归属月 */
	private String fdApplicationDepartment = " ";/* 申请单位 */
	private String fdNoteDate = " "; /* 开单日期 */
	
	private String fdApplyProject = " "; /* 适用工程 */
	private String fdApplicationDepartmentName = " "; /* 申请单位 */
	private String fdDepotCode = " "; /* 库房编号 */
	private String fdDepotName = " "; /* 库房名称 */
	
	private String fdTypeCode = " "; /* 类别编码 */
	private String fdTypeName = " "; /* 类别名称 */

	/**
	 * initialize the metadata
	 */
	public void initMetaData() {
		EiColumn eiColumn;

		eiColumn = new EiColumn("fdKeyId");
		eiColumn.setPrimaryKey(true);
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("主键");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdExportmaterialId");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("出库记录主键");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdApplicationId");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("领料申请记录");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdApplicationDetailId");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("领料申请明细主键");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdApplyDepartmentId");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("使用单位");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdBusinessType");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("业务类型");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialType");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("物资类型");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdMaterialId");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("物资ID");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialCode");
		eiColumn.setFieldLength(30);
		eiColumn.setDescName("物资编码");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialName");
		eiColumn.setFieldLength(80);
		eiColumn.setDescName("物资名称");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdSpecModel");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("规格型号");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdNumber");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("图号");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdQuality");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("材质");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMetric");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("计量单位");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdActualNumber");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("实发数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdSum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("实发金额");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdStatus");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("冲估状态");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdActualPrice");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("实际单价");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdPrice");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("单价");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdExporter");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("发料人");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdTurnoverRecordlId");
		eiColumn.setPrimaryKey(true);
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("回收/周转主键");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdRemark");
		eiColumn.setFieldLength(200);
		eiColumn.setDescName("备注");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdExportedNumber");
		eiColumn.setFieldLength(200);
		eiColumn.setDescName("已发数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("applicationfdKeyId");
		eiColumn.setFieldLength(200);
		eiColumn.setDescName("领料申请从表主键");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdYear");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("领料归属年");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMonth");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("领料归属月");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdApplicationDepartment");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("申请单位");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdNoteDate");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("开单日期");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdApplyProject");
		eiColumn.setFieldLength(320);
		eiColumn.setDescName("适用工程");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdApplicationDepartmentName");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("申请单位名称");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdDepotCode");
		eiColumn.setFieldLength(30);
		eiColumn.setDescName("库房编号");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdDepotName");
		eiColumn.setFieldLength(80);
		eiColumn.setDescName("库房名称");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdTypeCode");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("类别编码");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdTypeName");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("类别名称");
		eiMetadata.addMeta(eiColumn);
	}

	/**
	 * the constructor
	 */
	public ZMCMExportmaterialDetail() {
		initMetaData();
	}

	/**
	 * get the fdKeyId - 主键
	 * 
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}

	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}

	/**
	 * get the fdExportmaterialId - 出库记录主键
	 * 
	 * @return the fdExportmaterialId
	 */
	public String getFdExportmaterialId() {
		return this.fdExportmaterialId;
	}

	/**
	 * set the fdExportmaterialId - 出库记录主键
	 */
	public void setFdExportmaterialId(String fdExportmaterialId) {
		this.fdExportmaterialId = fdExportmaterialId;
	}

	/**
	 * get the fdApplicationId - 领料申请记录
	 * 
	 * @return the fdApplicationId
	 */
	public String getFdApplicationId() {
		return this.fdApplicationId;
	}

	/**
	 * set the fdApplicationDetailId - 领料申请明细主键
	 */
	public void setFdApplicationDetailId(String fdApplicationDetailId) {
		this.fdApplicationDetailId = fdApplicationDetailId;
	}

	/**
	 * get the fdApplicationDetailId - 领料申请明细主键
	 * 
	 * @return the fdApplicationDetailId
	 */
	public String getFdApplicationDetailId() {
		return this.fdApplicationDetailId;
	}

	/**
	 * set the fdApplicationId - 领料申请记录
	 */
	public void setFdApplicationId(String fdApplicationId) {
		this.fdApplicationId = fdApplicationId;
	}

	/**
	 * get the fdApplyDepartmentId - 使用单位
	 * 
	 * @return the fdApplyDepartmentId
	 */
	public String getFdApplyDepartmentId() {
		return this.fdApplyDepartmentId;
	}

	/**
	 * set the fdApplyDepartmentId - 使用单位
	 */
	public void setFdApplyDepartmentId(String fdApplyDepartmentId) {
		this.fdApplyDepartmentId = fdApplyDepartmentId;
	}

	/**
	 * get the fdBusinessType - 业务类型
	 * 
	 * @return the fdBusinessType
	 */
	public String getFdBusinessType() {
		return this.fdBusinessType;
	}

	/**
	 * set the fdBusinessType - 业务类型
	 */
	public void setFdBusinessType(String fdBusinessType) {
		this.fdBusinessType = fdBusinessType;
	}
	
	/**
	 * get the fdMaterialType - 物资类型
	 * 
	 * @return the fdMaterialType
	 */
	public String getFdMaterialType() {
		return this.fdMaterialType;
	}

	/**
	 * set the fdMaterialType - 物资类型
	 */
	public void setFdMaterialType(String fdMaterialType) {
		this.fdMaterialType = fdMaterialType;
	}

	/**
	 * get the fdMaterialId - 物资ID
	 * 
	 * @return the fdMaterialId
	 */
	public String getFdMaterialId() {
		return this.fdMaterialId;
	}

	/**
	 * set the fdMaterialId - 物资ID
	 */
	public void setFdMaterialId(String fdMaterialId) {
		this.fdMaterialId = fdMaterialId;
	}

	/**
	 * get the fdMaterialCode - 物资编码
	 * 
	 * @return the fdMaterialCode
	 */
	public String getFdMaterialCode() {
		return this.fdMaterialCode;
	}

	/**
	 * set the fdMaterialCode - 物资编码
	 */
	public void setFdMaterialCode(String fdMaterialCode) {
		this.fdMaterialCode = fdMaterialCode;
	}

	/**
	 * get the fdMaterialName - 物资名称
	 * 
	 * @return the fdMaterialName
	 */
	public String getFdMaterialName() {
		return this.fdMaterialName;
	}

	/**
	 * set the fdMaterialName - 物资名称
	 */
	public void setFdMaterialName(String fdMaterialName) {
		this.fdMaterialName = fdMaterialName;
	}

	/**
	 * get the fdSpecModel - 规格型号
	 * 
	 * @return the fdSpecModel
	 */
	public String getFdSpecModel() {
		return this.fdSpecModel;
	}

	/**
	 * set the fdSpecModel - 规格型号
	 */
	public void setFdSpecModel(String fdSpecModel) {
		this.fdSpecModel = fdSpecModel;
	}

	/**
	 * get the fdNumber - 图号
	 * 
	 * @return the fdNumber
	 */
	public String getFdNumber() {
		return this.fdNumber;
	}

	/**
	 * set the fdNumber - 图号
	 */
	public void setFdNumber(String fdNumber) {
		this.fdNumber = fdNumber;
	}

	/**
	 * get the fdQuality - 材质
	 * 
	 * @return the fdQuality
	 */
	public String getFdQuality() {
		return this.fdQuality;
	}

	/**
	 * set the fdQuality - 材质
	 */
	public void setFdQuality(String fdQuality) {
		this.fdQuality = fdQuality;
	}

	/**
	 * get the fdMetric - 计量单位
	 * 
	 * @return the fdMetric
	 */
	public String getFdMetric() {
		return this.fdMetric;
	}

	/**
	 * set the fdMetric - 计量单位
	 */
	public void setFdMetric(String fdMetric) {
		this.fdMetric = fdMetric;
	}

	/**
	 * get the fdActualNumber - 实发数量
	 * 
	 * @return the fdActualNumber
	 */
	public Double getFdActualNumber() {
		return this.fdActualNumber;
	}

	/**
	 * set the fdActualNumber - 实发数量
	 */
	public void setFdActualNumber(Double fdActualNumber) {
		this.fdActualNumber = fdActualNumber;
	}

	/**
	 * get the fdSum - 实发金额
	 * 
	 * @return the fdSum
	 */
	public Double getFdSum() {
		return this.fdSum;
	}

	/**
	 * set the fdSum - 实发金额
	 */
	public void setFdSum(Double fdSum) {
		this.fdSum = fdSum;
	}

	/**
	 * get the fdStatus - 冲估状态
	 * 
	 * @return the fdStatus
	 */
	public String getFdStatus() {
		return this.fdStatus;
	}

	/**
	 * set the fdStatus - 冲估状态
	 */
	public void setFdStatus(String fdStatus) {
		this.fdStatus = fdStatus;
	}

	/**
	 * get the fdActualPrice - 实际单价
	 * 
	 * @return the fdActualPrice
	 */
	public Double getFdActualPrice() {
		return this.fdActualPrice;
	}

	/**
	 * set the fdActualPrice - 实际单价
	 */
	public void setFdActualPrice(Double fdActualPrice) {
		this.fdActualPrice = fdActualPrice;
	}

	/**
	 * get the fdPrice - 单价
	 * 
	 * @return the fdPrice
	 */
	public Double getFdPrice() {
		return this.fdPrice;
	}

	/**
	 * set the fdPrice - 单价
	 */
	public void setFdPrice(Double fdPrice) {
		this.fdPrice = fdPrice;
	}

	/**
	 * get the fdExporter - 发料人
	 * 
	 * @return the fdExporter
	 */
	public String getFdExporter() {
		return this.fdExporter;
	}

	/**
	 * set the fdExporter - 发料人
	 */
	public void setFdExporter(String fdExporter) {
		this.fdExporter = fdExporter;
	}
	
	/**
	 * get the fdTurnoverRecordlId - 回收/周转主键
	 * 
	 * @return the fdTurnoverRecordlId
	 */
	public String getFdTurnoverRecordlId() {
		return this.fdTurnoverRecordlId;
	}

	/**
	 * set the fdTurnoverRecordlId - 回收/周转主键
	 */
	public void setFdTurnoverRecordlId(String fdTurnoverRecordlId) {
		this.fdTurnoverRecordlId = fdTurnoverRecordlId;
	}

	/**
	 * get the fdRemark - 备注
	 * 
	 * @return the fdRemark
	 */
	public String getFdRemark() {
		return this.fdRemark;
	}

	/**
	 * set the fdRemark - 备注
	 */
	public void setFdRemark(String fdRemark) {
		this.fdRemark = fdRemark;
	}
	
	public String getApplicationfdKeyId() {
		return applicationfdKeyId;
	}

	public void setApplicationfdKeyId(String applicationfdKeyId) {
		this.applicationfdKeyId = applicationfdKeyId;
	}

	public String getFdExportedNumber() {
		return fdExportedNumber;
	}

	public void setFdExportedNumber(String fdExportedNumber) {
		this.fdExportedNumber = fdExportedNumber;
	}

	public String getFdApplicationDepartment() {
		return fdApplicationDepartment;
	}

	public void setFdApplicationDepartment(String fdApplicationDepartment) {
		this.fdApplicationDepartment = fdApplicationDepartment;
	}

	public String getFdMonth() {
		return fdMonth;
	}

	public void setFdMonth(String fdMonth) {
		this.fdMonth = fdMonth;
	}

	public String getFdYear() {
		return fdYear;
	}

	public void setFdYear(String fdYear) {
		this.fdYear = fdYear;
	}
	
	/**
	 * get the fdNoteDate - 开单日期
	 * 
	 * @return the fdNoteDate
	 */
	public String getFdNoteDate() {
		return this.fdNoteDate;
	}

	/**
	 * set the fdNoteDate - 开单日期
	 */
	public void setFdNoteDate(String fdNoteDate) {
		this.fdNoteDate = fdNoteDate;
	}
	
	/**
	 * get the fdApplyProject - 适用工程
	 * 
	 * @return the fdApplyProject
	 */
	public String getFdApplyProject() {
		return this.fdApplyProject;
	}

	/**
	 * set the fdApplyProject - 适用工程
	 */
	public void setFdApplyProject(String fdApplyProject) {
		this.fdApplyProject = fdApplyProject;
	}
	
	/**
	 * get the fdApplicationDepartmentName - 申请单位名称
	 * 
	 * @return the fdApplicationDepartmentName
	 */
	public String getFdApplicationDepartmentName() {
		return this.fdApplicationDepartmentName;
	}

	/**
	 * set the fdApplicationDepartmentName - 申请单位名称
	 */
	public void setFdApplicationDepartmentName(String fdApplicationDepartmentName) {
		this.fdApplicationDepartmentName = fdApplicationDepartmentName;
	}
	
	/**
	 * @return the fdDepotCode
	 */
	public String getFdDepotCode() {
		return fdDepotCode;
	}

	/**
	 * @param fdDepotCode
	 *            the fdDepotCode to set
	 */
	public void setFdDepotCode(String fdDepotCode) {
		this.fdDepotCode = fdDepotCode;
	}
	
	/**
	 * @return the fdDepotName
	 */
	public String getFdDepotName() {
		return fdDepotName;
	}

	/**
	 * @param fdDepotName
	 *            the fdDepotName to set
	 */
	public void setFdDepotName(String fdDepotName) {
		this.fdDepotName = fdDepotName;
	}
	
	/**
	 * get the fdTypeCode - 类别编码
	 * 
	 * @return the fdTypeCode
	 */
	public String getFdTypeCode() {
		return this.fdTypeCode;
	}

	/**
	 * set the fdTypeCode - 类别编码
	 */
	public void setFdTypeCode(String fdTypeCode) {
		this.fdTypeCode = fdTypeCode;
	}

	/**
	 * get the fdTypeName - 类别名称
	 * 
	 * @return the fdTypeName
	 */
	public String getFdTypeName() {
		return this.fdTypeName;
	}

	/**
	 * set the fdTypeName - 类别名称
	 */
	public void setFdTypeName(String fdTypeName) {
		this.fdTypeName = fdTypeName;
	}

	/**
	 * get the value from Map
	 */
	@SuppressWarnings("rawtypes")
	public void fromMap(Map map) {

		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdExportmaterialId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdExportmaterialId")), fdExportmaterialId));
		setFdApplicationId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdApplicationId")), fdApplicationId));
		setFdApplicationDetailId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdApplicationDetailId")), fdApplicationDetailId));
		setFdApplyDepartmentId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdApplyDepartmentId")), fdApplyDepartmentId));
		setFdBusinessType(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdBusinessType")), fdBusinessType));
		setFdMaterialType(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialType")), fdMaterialType));
		setFdMaterialId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialId")), fdMaterialId));
		setFdMaterialCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialCode")), fdMaterialCode));
		setFdMaterialName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialName")), fdMaterialName));
		setFdSpecModel(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSpecModel")), fdSpecModel));
		setFdNumber(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdNumber")), fdNumber));
		setFdQuality(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdQuality")), fdQuality));
		setFdMetric(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMetric")), fdMetric));
		setFdActualNumber(NumberUtils.toDouble(StringUtils.toString(map.get("fdActualNumber")), fdActualNumber));
		setFdSum(NumberUtils.toDouble(StringUtils.toString(map.get("fdSum")), fdSum));
		setFdStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdStatus")), fdStatus));
		setFdActualPrice(NumberUtils.toDouble(StringUtils.toString(map.get("fdActualPrice")), fdActualPrice));
		setFdPrice(NumberUtils.toDouble(StringUtils.toString(map.get("fdPrice")), fdPrice));
		setFdExporter(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdExporter")), fdExporter));
		setFdTurnoverRecordlId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdTurnoverRecordlId")), fdTurnoverRecordlId));
		setFdRemark(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRemark")), fdRemark));

		setFdExportedNumber(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdExportedNumber")), fdExportedNumber));
		setApplicationfdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("applicationfdKeyId")), applicationfdKeyId));
		setFdYear(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdYear")), fdYear));
		setFdMonth(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMonth")), fdMonth));
		setFdApplicationDepartment(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdApplicationDepartment")), fdApplicationDepartment));
		setFdNoteDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdNoteDate")), fdNoteDate));
		
		setFdApplyProject(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdApplyProject")), fdApplyProject));
		setFdApplicationDepartmentName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdApplicationDepartmentName")), fdApplicationDepartmentName));
		setFdDepotName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepotName")), fdDepotName));
		setFdDepotCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepotCode")), fdDepotCode));
		setFdTypeCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdTypeCode")), fdTypeCode));
		setFdTypeName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdTypeName")), fdTypeName));
	}

	/**
	 * set the value to Map
	 */
	@SuppressWarnings({ "rawtypes", "unchecked" })
	public Map toMap() {

		Map<String, String> map = new HashMap();
		map.put("fdKeyId", StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));
		map.put("fdExportmaterialId", StringUtils.toString(fdExportmaterialId, eiMetadata.getMeta("fdExportmaterialId")));
		map.put("fdApplicationId", StringUtils.toString(fdApplicationId, eiMetadata.getMeta("fdApplicationId")));
		map.put("fdApplicationDetailId", StringUtils.toString(fdApplicationDetailId, eiMetadata.getMeta("fdApplicationDetailId")));
		map.put("fdApplyDepartmentId", StringUtils.toString(fdApplyDepartmentId, eiMetadata.getMeta("fdApplyDepartmentId")));
		map.put("fdBusinessType", StringUtils.toString(fdBusinessType, eiMetadata.getMeta("fdBusinessType")));
		map.put("fdMaterialType", StringUtils.toString(fdMaterialType, eiMetadata.getMeta("fdMaterialType")));
		map.put("fdMaterialId", StringUtils.toString(fdMaterialId, eiMetadata.getMeta("fdMaterialId")));
		map.put("fdMaterialCode", StringUtils.toString(fdMaterialCode, eiMetadata.getMeta("fdMaterialCode")));
		map.put("fdMaterialName", StringUtils.toString(fdMaterialName, eiMetadata.getMeta("fdMaterialName")));
		map.put("fdSpecModel", StringUtils.toString(fdSpecModel, eiMetadata.getMeta("fdSpecModel")));
		map.put("fdNumber", StringUtils.toString(fdNumber, eiMetadata.getMeta("fdNumber")));
		map.put("fdQuality", StringUtils.toString(fdQuality, eiMetadata.getMeta("fdQuality")));
		map.put("fdMetric", StringUtils.toString(fdMetric, eiMetadata.getMeta("fdMetric")));
		map.put("fdActualNumber", StringUtils.toString(fdActualNumber, eiMetadata.getMeta("fdActualNumber")));
		map.put("fdSum", StringUtils.toString(fdSum, eiMetadata.getMeta("fdSum")));
		map.put("fdStatus", StringUtils.toString(fdStatus, eiMetadata.getMeta("fdStatus")));
		map.put("fdActualPrice", StringUtils.toString(fdActualPrice, eiMetadata.getMeta("fdActualPrice")));
		map.put("fdPrice", StringUtils.toString(fdPrice, eiMetadata.getMeta("fdPrice")));
		map.put("fdTurnoverRecordlId", StringUtils.toString(fdTurnoverRecordlId, eiMetadata.getMeta("fdTurnoverRecordlId")));
		map.put("fdExporter", StringUtils.toString(fdExporter, eiMetadata.getMeta("fdExporter")));
		map.put("fdRemark", StringUtils.toString(fdRemark, eiMetadata.getMeta("fdRemark")));
		map.put("fdExportedNumber", StringUtils.toString(fdExportedNumber, eiMetadata.getMeta("fdExportedNumber")));
		map.put("applicationfdKeyId", StringUtils.toString(applicationfdKeyId, eiMetadata.getMeta("applicationfdKeyId")));

		map.put("fdYear", StringUtils.toString(fdYear, eiMetadata.getMeta("fdYear")));
		map.put("fdMonth", StringUtils.toString(fdMonth, eiMetadata.getMeta("fdMonth")));
		map.put("fdApplicationDepartment", StringUtils.toString(fdApplicationDepartment, eiMetadata.getMeta("fdApplicationDepartment")));
		map.put("fdNoteDate", StringUtils.toString(fdNoteDate, eiMetadata.getMeta("fdNoteDate")));
		
		map.put("fdApplyProject", StringUtils.toString(fdApplyProject, eiMetadata.getMeta("fdApplyProject")));
		map.put("fdApplicationDepartmentName", StringUtils.toString(fdApplicationDepartmentName, eiMetadata.getMeta("fdApplicationDepartmentName")));
		map.put("fdDepotName", StringUtils.toString(fdDepotName, eiMetadata.getMeta("fdDepotName")));
		map.put("fdDepotCode", StringUtils.toString(fdDepotCode, eiMetadata.getMeta("fdDepotCode")));
		map.put("fdTypeCode", StringUtils.toString(fdTypeCode, eiMetadata.getMeta("fdTypeCode")));
		map.put("fdTypeName", StringUtils.toString(fdTypeName, eiMetadata.getMeta("fdTypeName")));
		
		return map;

	}
}